package com.fintech.common.enums;

public enum DateFormatEnum {
	HH_mm_ss(101,"HH:mm:ss"),
	HH_mm(102,"HH:mm"),
	yyyy_MM_dd_HH_mm_ss(103,"yyyy-MM-dd HH:mm:ss"),
	yyyy_MM_dd(104,"yyyy-MM-dd"),
	yyyy_MM_dd_HH_mm(105,"yyyy-MM-dd HH:mm"),
	yyyy0MM0dd(106,"yyyy.MM.dd"),
	yyyyXMMXdd(107,"yyyy/MM/dd"),
	/**
	 *用于解析蜂巢返回的时间格式
	 */
	yyyy0MM0ddsHH_mm_ss(201,"yyyy.MM.dd HH:mm:ss"),
	yyyyMMdd(201,"yyyyMMdd"),
	yyyyMM(202,"yyyyMM");
	
	private Integer code;
	private String format;
	private DateFormatEnum(Integer code, String format) {
		this.code = code;
		this.format = format;
	}
	public Integer getCode() {
		return code;
	}
	public void setCode(Integer code) {
		this.code = code;
	}
	public String getFormat() {
		return format;
	}
	public void setFormat(String format) {
		this.format = format;
	}
	
}
